﻿using System.Collections.Generic;
using yiCommerce.Core;
using yiCommerce.Core.Domain.Brands;

namespace yiCommerce.Service.Brands
{
    public interface IBrandService
    {



        IList<Brand> GetAllBrands();

        IList<Brand> GetAllBrands(string brandName);



        void InsertBrand(Brand brand);
        void UpdateBrand(Brand brand);


        void DeleteBrand(Brand brand);

        void DeleteProductBrand(ProductBrand productBrand);

        IPagedList<ProductBrand> GetProductBrandsByBrandId(int brandId, int pageIndex, int pageSize);

        ProductBrand GetProductBrandById(int productBrandId);

        void InsertProductBrand(ProductBrand productBrand);
        void UpdateProductBrand(ProductBrand productBrand);

    }
}